#ifndef _EXCEPTION_HPP_
#define _EXCEPTION_HPP_

#include <string>


namespace Exception
{
	/**
	 * Base class for all the exceptions thrown in the system.
	 */
	class BaseException
	{
	public:
		BaseException(std::string iMsg):_msg(iMsg){}
		virtual ~BaseException(){}
		virtual std::string what() const {return _msg;}
	private:
		std::string _msg;
	};
}
#endif
